#ifndef __FLOW_METER_H
#define __FLOW_METER_H

#include "stm32f10x.h"                  // Device header
#include "timer.h"

// 定义YF-S403流量计引脚
#define FLOW_SENSOR_PIN  GPIO_Pin_4
#define FLOW_SENSOR_PORT GPIOA

void FlowMeter_Init(void);
float Get_FlowRate(void);

#endif
